package com.ruoyi.secondvitim.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 调查问卷名称对象 que_form
 * 
 * @author alonso_ecit
 * @date 2021-12-17
 */
public class QueForm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 表单名称 */
    @Excel(name = "表单名称")
    private String title;

    /** 问卷类型 */
    private String formType;

    /** 问卷描述 */
    @Excel(name = "问卷描述")
    private String content;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 问卷细项信息 */
    private List<QueFormDetail> queFormDetailList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public List<QueFormDetail> getQueFormDetailList()
    {
        return queFormDetailList;
    }

    public void setQueFormDetailList(List<QueFormDetail> queFormDetailList)
    {
        this.queFormDetailList = queFormDetailList;
    }

    public String getFormType() {
        return formType;
    }

    public void setFormType(String formType) {
        this.formType = formType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("status", getStatus())
            .append("queFormDetailList", getQueFormDetailList())
            .toString();
    }
}
